package com.example.ymllist;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

@Data
@Configuration
@ConfigurationProperties("student")
public class StudentProperties {


    private String name;
    private int age;
}
